﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<IEnumerable<Tencent.OA.ACM.Entity.CityInfo>>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="mainContainerPlaceHolder" runat="server">
    <div class="title ">
        城市列表
    </div>
    <table class="searchcond" cellpadding="0" cellspacing="0" id="tblAddCityInfo" style="display: none;">
        <tr>
            <td align="right" class="font_color9">
                城市名：
            </td>
            <td>
                <input type="text" value="" class="form_text" />
            </td>
        </tr>
        <tr>
            <td>
            </td>
            <td>
                <input type="submit" value="新增" class="form_bot" />
            </td>
        </tr>
    </table>
    <div class="list_title">
        <div style="padding-top: 6px;">
            <input type="button" value="新增" class="form_bot" onclick="$('#tblAddCityInfo').toggle()" />
        </div>
    </div>
    <table class="tblData" cellpadding="0" cellspacing="0">
        <thead>
            <tr>
                <th>
                    城市名称
                </th>
                <th>
                    操作
                </th>
            </tr>
        </thead>
        <tbody>
            <% foreach (var item in Model)
               { %>
            <tr>
                <td>
                    <%= Html.Encode(item.CityName) %>
                </td>
                <td>
                    <%= Html.ActionLink("编辑", "Edit", new { /* id=item.PrimaryKey */ }) %>
                    |
                    <%= Html.ActionLink("删除", "Delete", new { /* id=item.PrimaryKey */ })%>
                </td>
            </tr>
            <% } %>
        </tbody>
    </table>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="HeaderPlaceHolder" runat="server">
</asp:Content>
